home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / dino / dino_bot.1 / source / shell2 / dino2.iPSC2.example < prev    next >
Encoding:
Text File  |  1991-05-14  |  2.0 KB  |  52 lines

  1.  
  2. # Copyright, 1990, Regents of the University of Colorado
  3. #
  4. #  This is a Bourne shell script that sets up the compilation and
  5. #  linking parameters for a plain vanilla iPSC2 (not the i860 version).
  6. #
  7. #  There are eight environment variables that are set:
  8. #
  9. #     Dhostccopt -- the options used by the C compiler in compiling
  10. #                   the host file.
  11. #
  12. #     Dhostlnopt -- the options used by the C compiler in linking the
  13. #                   host file.  This is empty in the iPSC2 and i860
  14. #                   examples.
  15. #
  16. #     Dhostlibs  -- the libraries that the linker needs for the host
  17. #                   file.  One of these is the host version of the
  18. #                   DINO library (that one should be first).
  19. #
  20. #     Dnodelinkcmd -- The program used to link any node files.  On the
  21. #                   iPSC1, this is "ld".  On both iPSC2 versions, it
  22. #                   is "cc".
  23. #
  24. #     Dnodeccopt -- the options used by the C compiler in compiling
  25. #                   any node files.
  26. #
  27. #     Dhostlnopt -- the options used by the C compiler in linking any
  28. #                   node files.  This is empty in the iPSC2 and i860
  29. #                   examples.
  30. #
  31. #     Dnodemdls  -- Additional ".o" modules that must be linked with
  32. #                   any node files.  These are placed in front of the
  33. #                   ".o" file generated by the node compilation step.
  34. #                   (The iPSC1 requires this, it is empty on both
  35. #                   iPSC2 versions.)
  36. #
  37. #     Dnodelibs  -- the libraries that the linker needs for any node
  38. #                   files.  One of these is the node version of the
  39. #                   DINO library (that one should be first).
  40. #
  41.  
  42.         Dhostccopt="-host -DD_MACH=D_CUBE2"
  43.         Dhostlnopt=
  44.         Dhostlibs="${Dhome}/lib/${ARCHTYPE}/D_host2.a \
  45.                    -host"
  46.         Dnodelinkcmd=cc
  47.         Dnodeccopt="-node -DD_MACH=D_CUBE2"
  48.         Dnodelnopt=
  49.         Dnodemdls=
  50.         Dnodelibs="${Dhome}/lib/${ARCHTYPE}/D_node2.a \
  51.                    -node -lm"
  52.